package com.example.apple.zyfypt_122zhaozy.service;



import com.example.apple.zyfypt_122zhaozy.bean.SpecialBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Apple on 2017/4/19.
 */
//文章访问的Retrofit接口
public interface SpecialService {
    @GET("api.php/listspecial/mod/{mod}")
    Call<List<SpecialBean>>  getResult(
            @Path("mod") String special,
            @Query("page") int page,
            @Header("SessionID") String SessionID

    );
}
